﻿/**
 * Creation Date : December 15 2008
 * Author : Abdelkrim BOUTKHIL
 * 
 * Modification Date :
 * Modified by : 
 **/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLog;

namespace Plugins
{
    /// <summary>
    /// Collamail Plugin Interface
    /// All plugins must implement this interface and the two methods Start and End
    /// </summary>
    public interface IPlugin
    {
        /// <summary>
        /// This is the method called by the engine to start the plugin.
        /// Contains initialisation and starts the work.
        /// </summary>
        void Start();
        /// <summary>
        /// This method is called by the engine when the Start method finishes. 
        /// Disposes objects used by the plugin.
        /// </summary>
        void End();
    }
}
